package com.tianya.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import io.swagger.annotations.ApiModel;

/**
 * @author TianYaGuoKe
 * @date 2025/5/23 0:06
 * @description AccountStatus
 */
@ApiModel("账号状态枚举")
public enum AccountStatus {
    NORMAL(1,"正常"),
    LOCKED(2,"锁定"),
    DELETED(0,"删除");

    @EnumValue
    private Integer code;
    private String desc;

    AccountStatus(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
